//
//  LeverSelectCollectionViewCell.swift
//  Exchange
//
//  Created by 孟祥群 on 2018/7/12.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit

class LeverSelectCollectionViewCell: BaseCollectionViewCell {
    
    override func setUpUI() {
        self.titleLabel.layer.borderWidth = 0.5
        self.titleLabel.layer.cornerRadius = 2;
        self.titleLabel.font = UIFont.systemFont(ofSize: 13)
        self.titleLabel.textColor = kTextColor
        self.selectImage.image = UIImage(named: "coinSelect")
        self.contentView.addSubview(self.selectImage)
        self.selectImage.snp.makeConstraints { (make) in
            make.bottom.equalToSuperview()
            make.right.equalToSuperview()
        }
        self.titleLabel.textAlignment = NSTextAlignment.center
        self.contentView.addSubview((self.titleLabel))
        self.titleLabel.snp.makeConstraints { (make) in
            make.top.bottom.equalToSuperview()
            make.left.right.equalToSuperview()
        }
    }
}
